package classdemo;

class demotest{
     public int year;
     public int month;
     public int day;
     public demotest(int year,int month,int day){
         this.year = year;
         this.month = month;
         this.day = day;
         System.out.println("demotest(int int int)被调用了！ ");
     }
     public demotest()
     {
         this(101,111,10);
     }
}
public class demo4 {
    public static void main(String[] args) {
        demotest t1 = new demotest(10,10,10);
    }
}
